import React from 'react';

import BaseExecuter from '../common/BaseExecuter';
import Constants from '../../common/Constants';

export default class NoticeExecuter extends BaseExecuter {
  execute(action) {
    switch (action.name) {
      case "NoticeRequestUnreadedNumAction":
        this._requestUnreadedNum(action);
        break;
      default:
    }
  }
  _requestUnreadedNum(action) {
    action.finish();
  }

  _getModuleType() {
    return Constants.MODULE_TYPE.NOTICE;
  }
}
